using System;
using Microsoft.SPOT;
using GHIElectronics.NETMF.Hardware;
using GHIElectronics.NETMF.FEZ;
using Microsoft.SPOT.Hardware;

namespace AstroX
{

    public static class AstoXPinMap
    {
        public const AnalogIn.Pin X18G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An0;
        public const AnalogIn.Pin Y18G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An1;
        public const AnalogIn.Pin Z18G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An2;
        public const AnalogIn.Pin X5G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An3;
        public const AnalogIn.Pin Y5G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An4;
        public const AnalogIn.Pin Z250G = (AnalogIn.Pin)FEZ_Pin.AnalogIn.An5;

        //RXD Pin0
        //TXD Pin1
        public const Cpu.Pin IntTempPin = (Cpu.Pin)FEZ_Pin.Digital.Di2;
        public const Cpu.Pin ExtTempPin = (Cpu.Pin)FEZ_Pin.Digital.Di3;

        public const Cpu.Pin CamPowerPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di4;
        //replace with power pin
        
        public const Cpu.Pin LaunchPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di5;
        public const Cpu.Pin ExtendPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di6;
        public const Cpu.Pin RetractPin = (Cpu.Pin)FEZ_Pin.Interrupt.Di7;
        //8 blown
        //9 blown
        public const PWM.Pin Actuator = (PWM.Pin)FEZ_Pin.PWM.Di10;
        public const Cpu.Pin PowerPin = (Cpu.Pin)FEZ_Pin.Digital.Di11;
        public const Cpu.Pin LatchPin = (Cpu.Pin)FEZ_Pin.Digital.Di12;
        public const Cpu.Pin CamRecord = (Cpu.Pin)FEZ_Pin.Digital.Di13;
        
        
    }
}
